package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 打卡功能对象 clock_in
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class ClockIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long cId;

    /** 打卡人 */
    @Excel(name = "打卡人")
    private String cName;

    /** 打卡位置 */
    @Excel(name = "打卡位置")
    private String cLocation;

    /** 打卡时间 */
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime cTime;

    public void setcId(Long cId) 
    {
        this.cId = cId;
    }

    public Long getcId() 
    {
        return cId;
    }
    public void setcName(String cName) 
    {
        this.cName = cName;
    }

    public String getcName() 
    {
        return cName;
    }
    public void setcLocation(String cLocation) 
    {
        this.cLocation = cLocation;
    }

    public String getcLocation() 
    {
        return cLocation;
    }
    public void setcTime(LocalDateTime cTime)
    {
        this.cTime = cTime;
    }

    public LocalDateTime getcTime()
    {
        return cTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cId", getcId())
            .append("cName", getcName())
            .append("cLocation", getcLocation())
            .append("cTime", getcTime())
            .toString();
    }
}
